import { defHttp } from '/@/utils/http/axios';

enum Api {
  overview = 'asset/getOverviewStatistics',
}

export interface overviewStatisticsType {
  totalCount: number;
  totalPrice: number;
  destoryedTotalCount: number;
  destoryedTotalPrice: number;
  categoryNameList: string[];
  categoryCountList: number[];
  useStateNameList: string[];
  ustStateCountList: number[];
}
export const getOverviewStatistics = () => defHttp.post<overviewStatisticsType>({ url: Api.overview });
